package cn.tedu.backend.portal.service;

import cn.tedu.backend.portal.model.Season;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ISeasonService extends IService<Season> {
  //查询
  List<Season> selectSeasons();

  //删除
  int delSeason(String season);

  //增加
  int addSeason(Season season);

  //修改
  int updateSeason(Season season);

  //根据季节名查询
  Season searchSeason(String season);
//    PageInfo<Season> getEvents(Integer pageNum, Integer pageSize);
//
//    int deleteById(int id);
//
////    PageInfo<Event> getuserEventsById(String userId,Integer pageNum, Integer pageSize);
//    PageInfo<Season> getuserEventsById(Integer pageNum, Integer pageSize);
//
//    //发布者已发布的活动
////    PageInfo<Event> getsendEventsById(String userId,Integer pageNum, Integer pageSize);
//    PageInfo<Season> getsendEventsById(Integer pageNum, Integer pageSize);
}
